package br.com.viamais.controller.primefaces;

import java.util.ArrayList;
import java.util.List;

import javax.faces.bean.ManagedBean;

import br.com.viamais.util.MessageBundleUtil;

/**
 * Controller image header photo switch.
 * TODO: Logger
 * @author eduardo.dev
 */
@ManagedBean(name="imageSwitchBean")
public class ImageSwitchBean {
	/**
	 * Image track.
	 */
	private static final String PICTURE_01 = MessageBundleUtil.getValue("manager.image.header.picture1.track");
	/**
	 * Image track.
	 */
	private static final String PICTURE_02 = MessageBundleUtil.getValue("manager.image.header.picture2.track");
	/**
	 * Image track.
	 */
	private static final String PICTURE_03 = MessageBundleUtil.getValue("manager.image.header.picture3.track");
	/**
	 * Image track.
	 */
	private static final String PICTURE_04 = MessageBundleUtil.getValue("manager.image.header.picture4.track");
	/**
	 * Image track.
	 */
	private static final String PICTURE_05 = MessageBundleUtil.getValue("manager.image.header.picture5.track");
	/**
	 * Image track.
	 */
	private static final String PICTURE_06 = MessageBundleUtil.getValue("manager.image.header.picture6.track");
	/**
	 * Image track.
	 */
	private static final String PICTURE_07 = MessageBundleUtil.getValue("manager.image.header.picture7.track");
	/**
	 * Image list.
	 */
    private List<String> images;  
    
    /**
     * Method that switch the images.
     */
    public ImageSwitchBean() {  
        images = new ArrayList<String>();  
        images.add(PICTURE_02);
        images.add(PICTURE_01);
        images.add(PICTURE_03);
        images.add(PICTURE_04);
        images.add(PICTURE_05);
        images.add(PICTURE_06);
        images.add(PICTURE_07);
    }  
  
    /**
     * Get image list.
     * @return
     */
    public List<String> getImages() {  
        return images;  
    }  
}
